<html>
<body>
<p>Reports emptiness checks on filtered collections.</p>

<p>The quick-fix uses <code>exists</code> or <code>forall</code> to check for emptiness.</p>
<p><b>Example:</b></p>
<pre><code>
  var x: Seq[Int]
  x.filter(p).size == 0
  x.filter(p).length > 0
  x.filterNot(p).isEmpty
  x.filterNot(p).nonEmpty
</code></pre>
<p>After the quick-fix is applied:</p>
<pre><code>
  var x: Seq[Int]
  !x.exists(p)
  x.exists(p)
  x.forall(p)
  !x.forall(p)
</code></pre>
<!-- tooltip end -->
</body>
</html>